package com.example.applicationlifecycle;

import android.app.Application;
import android.content.Context;
import android.util.Log;

import com.lws.applicationlifecycle.AppLifeCycle;

public class SubApp3 extends Application {
    private static final String TAG = SubApp3.class.getName();


    //创建时注入BaseContext
    public SubApp3(Context context) {
        attachBaseContext(context);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.d(TAG, "onCreate: ");
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        Log.d(TAG, "onTerminate: ");
    }
}
